﻿@model List<RBS.Core.Model.ThatDay>
@using Webdiyer.WebControls.Mvc
@{
    ViewBag.Title = "当月数据";
    Layout = "~/Views/Shared/_Layout.cshtml"; 
}
<!--导航栏-->
 @Html.Partial("_Location")
<!--/导航栏-->
<!--工具栏-->
<div class="toolbar-wrap">
    <div id="floatHead" class="toolbar">
        <div class="l-list">
            <ul class="icon-list">
                
            </ul>
        </div>
        <div class="r-list">
            @using (Html.BeginForm("ThatMonth", "Statistics", FormMethod.Get))
            {  
                <input id="month" name="month" type="text" class="keyword Wdate" onfocus="WdatePicker({dateFmt:'yyyy年M月',minDate:'2010-2',maxDate:'2020-10'})" value="@Request.QueryString["month"]"/>
                <input type="submit" value="查询" class="btn-search" accesskey="S" /> 
            }
        </div>
    </div>
</div>
<!--/工具栏-->
<!--列表-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="ltable">
    <tr>
        <th width="8%">日期</th>
        <th align="right">总收入</th>
        <th align="center">账单数量</th>
        <th align="right">现金刷卡</th>
        <th align="center">积分收入</th>
        <th align="center">送菜券</th>
        <th align="center">消费券</th>
        <th align="center">广告券</th>
        <th align="center">积分支出</th> 
        <th  align="center">操作</th>
    </tr>
    @if (null != ViewData.Model)
    {
        foreach (var item in ViewData.Model)
        {
        <tr> 
            <td align="center">
                @Html.DisplayFor(modelItem => item.PayTime)
            </td>
            <td align="right">
                @Html.DisplayFor(modelItem => item.总收入)
            </td>
            <td align="center">
                @Html.DisplayFor(modelItem => item.账单数量)
            </td>
            <td align="right">
                @Html.DisplayFor(modelItem => item.现金刷卡)
            </td>
            <td align="center">
                @Html.DisplayFor(modelItem => item.积分收入)
            </td>
            <td align="center">
                @Html.DisplayFor(modelItem => item.送菜券)
            </td>
            <td align="center">
                @Html.DisplayFor(modelItem => item.消费券)
            </td>
            <td align="center">
                @Html.DisplayFor(modelItem => item.广告券)
            </td>
            <td align="center">
                @Html.DisplayFor(modelItem => item.积分支出)
            </td> 
            <td  align="center"> 
                @Html.ActionLink("查看","DayStatistics",new{day=item.PayTime})

            </td>
        </tr>
        }
    }
</table>
<!--/列表-->
<!--内容底部-->
<div class="line20">
</div>
<div class="pagelist">
</div>
<!--/内容底部-->


